package com.heart.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heart.dao.entity.SecurityUser;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface SecurityUserService extends IService<SecurityUser> {
    String getSalt(String userCode);
    Map<String,Object> login(String userCode, String password);
    Map<String, Object> info(String token);
    List<SecurityUser> getSecurityUserList();
    boolean updateSecurityUser(SecurityUser securityUser);
    boolean deleteSecurityUser(SecurityUser securityUser);
    boolean saveSecurityUser(SecurityUser securityUser);
    boolean updateSecurityUserPassword(SecurityUser securityUser);
}
